package com.crishne.anwo.service;
 
import java.util.List;

import com.crishne.anwo.model.UserMap;
import com.crishne.anwo.utill.PaginationUtil;
 
 
public interface UserMapService {
 
    public void addUserMap(UserMap userMap);
    
    public void updateUserMap(UserMap userMap);
    
    public void deleteUserMap(String stUserMapId);
    
    public UserMap selectUserMapById(String userNapId);
    
    public List<UserMap> getUserMapRoles(String userId);
    
    public List<UserMap> getRoleMapUsers(String roleId);
    
    public PaginationUtil<UserMap> searchUserMaps(PaginationUtil<UserMap> pageConditions);
    
    public void saveRoleMaps(String userId, String[] roleIds);
    
    public void deleteUserMapByUserId(String stUserId);
}